* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: eletronicFont;
  src: url(../font/DS-DIGIT.TTF);
}

body {
  background: url(../images/bg.jpg) no-repeat top center;
  line-height: 1.15;
}

header {
  position: relative;
  background: url(../images/head_bg.png) no-repeat;
  background-size: 100% 100%;

  h1 {
    font-size: .475rem;
    text-align: center;
    color: #fff;
    line-height: 1rem;
  }

  .showTime {
    position: absolute;
    top: 0;
    right: 0.375rem;
    line-height: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.25rem;
  }
}

.mainBox {
  display: flex;
  min-width: 1024px;
  max-width: 1920px;
  margin: 0 auto;
  padding: .125rem .125rem 0;

  .column {
    flex: 3;
  }

  .column:nth-child(2) {
    flex: 5;
    padding: 0 .125rem .1875rem;
    //解决地图列模块高度过高产生的滚动条
    overflow: hidden;
  }

  .panel {
    position: relative;
    height: 3.875rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    background: url(../images/line\(1\).png);
    padding: 0 0.1875rem 0.5rem;
    margin-bottom: 0.1875rem;

    // 实现box上面两个角的样式
    &::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "";
      width: 10px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0;
      content: "";
      width: 10px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }

    .panel-footer {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      // 实现box下面两个角的样式
      &::before {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 10px;
        height: 10px;
        border-bottom: 2px solid #02a6b5;
        border-left: 2px solid #02a6b5;
      }

      &::after {
        position: absolute;
        bottom: 0;
        right: 0;
        content: "";
        width: 10px;
        height: 10px;
        border-bottom: 2px solid #02a6b5;
        border-right: 2px solid #02a6b5;
      }
    }

    h2 {
      height: .6rem;
      color: #fff;
      line-height: .6rem;
      text-align: center;
      font-size: .25rem;
      font-weight: 400;

      a {
        margin: 0 0.1875rem;
        color: #fff;
        text-decoration: none;
      }
    }

    .chart {
      height: 3rem;
    }
  }
}

.no {
  background: rgba(101, 132, 226, 0.1);
  padding: 0.1875rem;

  .no-hd {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      content: '';
      width: 30px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }

    &::after {
      position: absolute;
      bottom: 0;
      right: 0;
      content: '';
      width: 30px;
      height: 10px;
      border-bottom: 2px solid #02a6b5;
      border-right: 2px solid #02a6b5;
    }

    ul {
      list-style-type: none;
      display: flex;

      li {
        position: relative;
        flex: 1;
        line-height: 1rem;
        text-align: center;
        font-size: 0.475rem;
        color: #ffeb7b;
        font-family: 'eletronicFont';
      }

      li:nth-child(1) {
        &::after {
          position: absolute;
          top: 25%;
          right: 0;
          content: '';
          width: 1px;
          height: 50%;
          background: rgba(255, 255, 255, 0.2);
        }
      }
    }
  }

  .no-bd {
    ul {
      display: flex;
      list-style-type: none;

      li {
        flex: 1;
        height: 0.5rem;
        line-height: 0.5rem;
        text-align: center;
        font-size: 0.225rem;
        color: rgba(255, 255, 255, 0.7);
        padding-top: 0.125rem;
      }
    }
  }
}

.map {
  position: relative;
  height: 10.125rem;

  .map1 {
    position: absolute;
    width: 6.475rem;
    height: 6.475rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/map.png);
    background-size: 100%;
    opacity: 0.3;
  }

  .map2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.0375rem;
    height: 8.0375rem;
    background: url(../images/lbx.png);
    background-size: 100%;
    animation: rotate1 15s linear infinite;
    opacity: 0.6;
  }

  .map3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.075rem;
    height: 7.075rem;
    background: url(../images/jt.png);
    background-size: 100%;
    animation: rotate2 15s linear infinite;
    opacity: 0.6;
  }

  .chart {
    position: absolute;
    top: 0;
    left: 0;
    // background-color: white;
    width: 100%;
    height: 10.125rem;
  }

  @keyframes rotate1 {

    // from{
    //   transform: translate(-50%,-50%) 
    //   rotate(0deg);
    // }
    to {
      transform: translate(-50%, -50%) rotate(360deg)
    }
  }

  @keyframes rotate2 {

    // from{
    //   transform: translate(-50%,-50%) 
    //   rotate(0deg);
    // }
    to {
      transform: translate(-50%, -50%) rotate(-360deg)
    }
  }
}

/* 约束屏幕尺寸，以限制图标的最小缩放宽高（窗口缩小到一定程度，图片也不再缩放） */
// 当设备类型为screen并且设备中的页面最大可见区域宽度为1024px时(宽度小于1024px)，页面字体42px
@media screen and (max-width: 1024px) {
  html {
    font-size: 42px !important;
  }
}
// 当设备类型为screen并且设备中的页面最大可见区域宽度为1024px时(宽度大于1920px)，页面字体42px
@media screen and (min-width: 1920px) {
  html {
    font-size: 80px !important;
  }
}